<!DOCTYPE html>
<html>
<body>
{%  for p in personInfo %}
<div>name is {{ p.name }}, sex is {{ p.sex }}</div>
{% endfor %}
</body>
</html>